﻿using ERPSystem.Common.DTO;
using MediatR;
using SqlSugar;

namespace BasicInformationWrite.API.BasicInformationCommons.Departes
{
    public class DepartCreateCommand:IRequest<Result>
    {
        //部门名称(树形外键)
        public int? DepartmentTreeId { get; set; }
        //部门停用
        [SugarColumn(ColumnDataType = "Nvarchar(50)", IsNullable = true)]
        public string? DepartmentDeactivatebool { get; set; }
        //部门类型
        [SugarColumn(ColumnDataType = "Nvarchar(50)", IsNullable = true)]
        public string? DepartmentType { get; set; }
        //部门区域
        [SugarColumn(ColumnDataType = "Nvarchar(50)", IsNullable = true)]
        public string? DepartAddress { get; set; }
        //直接上级
        [SugarColumn(ColumnDataType = "Nvarchar(50)", IsNullable = true)]
        public string? DirectSuperior { get; set; }
        //部门主管
        [SugarColumn(ColumnDataType = "Nvarchar(50)", IsNullable = true)]
        public string? DepartmentSupervisor { get; set; }
        //分管负责人
        [SugarColumn(ColumnDataType = "Nvarchar(50)", IsNullable = true)]
        public string? InChargeHead { get; set; }
        //财务负责人
        [SugarColumn(ColumnDataType = "Nvarchar(50)", IsNullable = true)]
        public string? Treasurer { get; set; }
        //可查看人员
        [SugarColumn(ColumnDataType = "Nvarchar(50)", IsNullable = true)]
        public string? ViewablePersonnel { get; set; }
    }
}
